Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix B - Scriptable Text Editor Dictionary / Scriptable Text Editor Commands


Copy

The standard Copy command is defined on page 88. The Scriptable Text Editor version of the Copy command behaves like the standard version, except the direct parameter of the Scriptable Text Editor command cannot be a list; it must be a reference to a single object. For example, the following statement results in an error:

tell document "Intro" of app "Scriptable Text Editor"   copy words whose style contains bold to beginning
end
--result: error; Copy can handle single objects only

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996